import * as fs from 'fs'
import * as path from 'path'

export const createModelFile = (content:string) => {
    if(!content) return 
    const fileName = 'schema'

    const filePath = path.join(__dirname, `../${fileName}/index.d.ts`)
    fs.writeFileSync(filePath, content, 'utf-8')
}